]> dgit.raspbian.org Git - gnome-shell.git/commit
brightnessManager: Propagate any attempted brightness change
authorSebastian Wick <sebastian.wick@redhat.com>
Thu, 30 Oct 2025 10:43:19 +0000 (11:43 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 30 Oct 2025 12:25:19 +0000 (12:25 +0000)
commitaaef85ecbd558fec8aa138678fe859de930d42dd
treef2a1dafe1c02ad41fbea5c95f3e173ab0019b61e
parent5db3a2b7bcfebdcc71038df890ae44308c98b95e
brightnessManager: Propagate any attempted brightness change

The BrightnessScale was trying to be smart by not notifying changes of
its value when an action on it (stepUp, stepDown, cycleUp, set value)
resulted in no change.

It turns out that users do want to see an OSD even when their action
resulted in no change.

Always notify about attempted changes instead.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8770
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3941>
js/misc/brightnessManager.js